package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.HomepageAboutEntity;

/**
 * @Description:
 * @Author: WYX.
 * @Date: 2018/6/8 19:58.
 */
public class HomepageAboutDto {
    private Integer infoId;
    private String orgTele;
    private String orgFax;
    private String orgMail;
    private String orgWebsite;

    public Integer getInfoId() {
        return infoId;
    }

    public void setInfoId(Integer infoId) {
        this.infoId = infoId;
    }

    public String getOrgTele() {
        return orgTele;
    }

    public void setOrgTele(String orgTele) {
        this.orgTele = orgTele;
    }

    public String getOrgFax() {
        return orgFax;
    }

    public void setOrgFax(String orgFax) {
        this.orgFax = orgFax;
    }

    public String getOrgMail() {
        return orgMail;
    }

    public void setOrgMail(String orgMail) {
        this.orgMail = orgMail;
    }

    public String getOrgWebsite() {
        return orgWebsite;
    }

    public void setOrgWebsite(String orgWebsite) {
        this.orgWebsite = orgWebsite;
    }

    public HomepageAboutEntity toBean() {
        HomepageAboutEntity homepageAboutEntity = new HomepageAboutEntity();
        homepageAboutEntity.setInfoId(infoId);
        homepageAboutEntity.setOrgTele(orgTele);
        homepageAboutEntity.setOrgMail(orgMail);
        homepageAboutEntity.setOrgFax(orgFax);
        homepageAboutEntity.setOrgWebsite(orgWebsite);
        return homepageAboutEntity;
    }
}
